FROM node:12.22.12

ARG REGISTRY=https://registry.npm.taobao.org

WORKDIR /data/bs_jars/exam-frontend

COPY . /data/bs_jars/exam-frontend

EXPOSE 18888

RUN ls && npm i --registry ${REGISTRY}

CMD ["npm", "run", "dev"]
